<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">

<h:head>
</h:head>

<h:body>
    <p>11111111</p>
    <ui:composition template="template.xhtml">
        <ui:define name="inter1">
            <b>模板客户端文件通过ui:define编辑ui:insert内容</b>
        </ui:define>

        <ui:define name="index.xhtml">
            <b>通过ui:composition调用模板文件</b><br/>
            <b>ui:include引入一个子页面</b><br/>
        </ui:define>
        <ui:define name="inter1">
            <b>通过ui:composition调用模板文件</b><br/>
            <b>ui:include引入一个子页面</b><br/>
        </ui:define>
    </ui:composition>
</h:body>
</html>